package com.cwd.arm.application.service.write;

import com.cwd.arm.application.dto.MsgDto;
import com.cwd.arm.application.service.write.facade.MsgWriteService;
import com.cwd.arm.domain.entity.MsgEntity;
import com.cwd.arm.domain.repository.MsgRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

/**
* Description:消息
* Created on 2022年01月15日
* @author  yan
*/
@Repository
@Primary
public class MsgWriteServiceImpl implements MsgWriteService{

    @Autowired
    private MsgRepository msgRepository;


    private MsgEntity convertToEntity(MsgDto dto){
        MsgEntity entity = MsgEntity.builder()
                .build();
        return entity;
    }
}
